package dancetwotiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// DanceAddShardLog 补发碎片日志
type DanceAddShardLog struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"api的id"`
	SecOpenid    string         `json:"secOpenid" gorm:"column:sec_openid;type:varchar(256);not null;default:'';comment: 用户id"`
	Nickname     string         `json:"nickname" gorm:"column:nickname;type:varchar(256);not null;default:'';comment:昵称"`     //
	ShardNum     int64          `json:"shardNum" gorm:"column:shard_num;type:bigint;default:0;not null;comment:补的碎片"`       // 补的碎片
	ActivitiesId int64          `json:"activitiesId" gorm:"column:activities_id;type:bigint;default:0;not null;comment:活动ID"` // 活动ID
	Reviewer     string         `json:"reviewer" gorm:"column:reviewer;type:varchar(256);not null;default:'';comment:审核人"`   // 审核人
	Remark       string         `json:"remark" gorm:"column:remark;type:varchar(256);not null;default:'';comment:备注"`         //
	CreatedId    int64          `json:"created_id" gorm:"column:created_id;type:bigint;default:0;not null;comment:创建人id"`    // 创建人id
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"`
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
